package com.yun.zf.search.service;

import com.yun.zf.common.admin.model.house.HouseListMo;
import com.yun.zf.common.admin.model.search.CommunitySearchMo;
import com.yun.zf.common.admin.model.search.HouseSearchMo;
import com.yun.zf.common.app.dto.detail.CommunityNearByDto;

import java.util.List;
import java.util.Map;


public interface ESRestService {

    public List<Map<String,String>> communitySuggest (String text,Long cityCode);

    public Map<String, Object> searchCommunitys( CommunitySearchMo communitySearchMo);



    public Map<String, Object> searchHouseBasic(HouseSearchMo searchMo);

    /**
     * 房源录入输入小区自动补全提示
     * @param text
     * @param cityCode
     * @return
     */
    public List<Map<String, String>> communitySuggestToHouse(String text, Long cityCode);
    public List<HouseListMo> houseBasic(Long provCode, Long cityCode, List<Long> ids);

    public  List<CommunityNearByDto> getBasicCommunity(List<Long> ids);
}
